package cn.webrx;

public class FormatOutput {
    public static void main(String[] args) {
        String name = "张三丰";
        int age = 18;
        double money = 188.987;
        long time = System.currentTimeMillis();
        
        System.out.printf("现在时间：%tF %<tT。姓名：%s，年龄：%d岁，金额：%.2f元。%n", time, name, age, money);
    }
}
